<div ng-controller="MemberlevelCtrl" ng-init="addAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/memberlevel/list">{{'会员等级'|translate}}</a></li>
        <li class="active">
            {{"添加"|translate}}
        </li>
    </ul>
    <div class="sui-form form-horizontal">
        <form name="partnerForm" novalidate ng-submit="addData()">
            <div class="control-group">
                <label class="control-label v-top">{{'等级值'|translate}}:</label>
                <div class="controls">
                    <level-value ng-model="member_level.value" dft="1"></level-value>
                    <!-- <input ng-model="member_level.value" type="text" name="value" class="input-xlarge"> -->
                </div>
            </div>

            <div class="control-group">
                <label class="control-label v-top">{{'等级名称'|translate}}:</label>
                <div class="controls">
                    <input ng-model="member_level.name" type="text" name="name" class="input-xlarge">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label v-top">{{'所需积分'|translate}}:</label>
                <div class="controls">
                    <input ng-model="member_level.require_exp" type="text" name="require_exp" class="input-xlarge">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label v-top">{{'是否有效'|translate}}:</label>
                <div class="controls">
                    <choice ng-model="member_level.enabled" dft='1'></choice>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label"></label>
                <div class="controls">
                    <button type="submit" class="sui-btn btn-primary">
                        {{'save' | translate}}
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>